import { IsString, Length } from 'class-validator';
import { ApiProperty } from '@nestjs/swagger';

export class CreateTenantDto {
  @ApiProperty({ required: true })
  @IsString()
  @Length(0, 100)
  tenantName: string;

  @ApiProperty({ required: true })
  @IsString()
  @Length(0, 50)
  tenantCode: string;
}
